package com.ica.model.facade;

import com.ica.model.contact.ContactGroup;

/**
 * @author   Hector
 */
public class ContactFacadeMockImpl extends GenericFacadeImpl<ContactGroup> implements ContactFacadeInterface {
	
	/**
	 * @uml.property  name="instance"
	 * @uml.associationEnd  
	 */
	private static ContactFacadeMockImpl instance = null;
	
	private ContactFacadeMockImpl() {
		
		super();
		/*for(int i=1;i<10;i++) {
        	ContactGroup c = new ContactGroup("Contact Group "+i);
        	elements.put(c.getId(),c);
        }*/
	}
	
	/**
	 * @return
	 * @uml.property  name="instance"
	 */
	public static ContactFacadeMockImpl getInstance() {
		
		if (instance==null) {
			instance = new ContactFacadeMockImpl();
		}
		return instance;
	}
}
